Optimal. Leaf size=69 \[ -\frac {A b-a B}{2 b^2 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {B}{b^2 \sqrt {a^2+2 a b x+b^2 x^2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {640, 607} \begin {gather*} -\frac {A b-a B}{2 b^2 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {B}{b^2 \sqrt {a^2+2 a b x+b^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 607
Rule 640
Rubi steps
\begin {align*} \int \frac {A+B x}{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx &=-\frac {B}{b^2 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {\left (2 A b^2-2 a b B\right ) \int \frac {1}{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx}{2 b^2}\\ &=-\frac {B}{b^2 \sqrt {a^2+2 a b x+b^2 x^2}}-\frac {A b-a B}{2 b^2 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 39, normalized size = 0.57 \begin {gather*} \frac {-B (a+2 b x)-A b}{2 b^2 (a+b x) \sqrt {(a+b x)^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 0.73, size = 178, normalized size = 2.58 \begin {gather*} \frac {-a^3 b B+\sqrt {b^2} \sqrt {a^2+2 a b x+b^2 x^2} \left (a^2 (-B)+a A b+a b B x-A b^2 x-2 b^2 B x^2\right )+a^2 A b^2+a b^3 B x^2+A b^4 x^2+2 b^4 B x^3}{x^2 \left (-2 a b^5-2 b^6 x\right ) \sqrt {a^2+2 a b x+b^2 x^2}+\sqrt {b^2} x^2 \left (2 a^2 b^4+4 a b^5 x+2 b^6 x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 38, normalized size = 0.55 \begin {gather*} -\frac {2 \, B b x + B a + A b}{2 \, {\left (b^{4} x^{2} + 2 \, a b^{3} x + a^{2} b^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \mathit {sage}_{0} x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 32, normalized size = 0.46 \begin {gather*} -\frac {\left (b x +a \right ) \left (2 B b x +A b +B a \right )}{2 \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}} b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.46, size = 56, normalized size = 0.81 \begin {gather*} -\frac {B}{\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2}} b^{2}} + \frac {B a}{2 \, b^{4} {\left (x + \frac {a}{b}\right )}^{2}} - \frac {A}{2 \, b^{3} {\left (x + \frac {a}{b}\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.19, size = 42, normalized size = 0.61 \begin {gather*} -\frac {\sqrt {a^2+2\,a\,b\,x+b^2\,x^2}\,\left (A\,b+B\,a+2\,B\,b\,x\right )}{2\,b^2\,{\left (a+b\,x\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A + B x}{\left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________